chilitags.js: src/jschilitags.cpp src/chilitags-javascript.js
	em++ -std=c++11 -O2 -s OUTLINING_LIMIT=40000 src/jschilitags.cpp -lchilitags -lopencv_core -lopencv_imgproc -lopencv_calib3d -lhighgui -o $@ --post-js src/chilitags-javascript.js -s EXPORTED_FUNCTIONS="['_setFilter', '_find', '_set3DFilter', '_set2DFilter', '_estimate', '_readTagConfiguration', '_setDefaultTagSize', '_readCalibration', '_getCameraMatrix', '_getDistortionCoeffs']"
